
#include <unit_test/I.hpp>
#if defined(YISC_ENABLE_TEST_MACROS)

namespace yisc { namespace unit_test {

  void default_handler_I(const char* exprn, const char* filename, int line)
  {
    std::cerr<<filename<<":"<<line<<":FAILED: "<<exprn<<std::endl;
    std::abort();
  }

  void warning_I(const char* exprn, const char* filename, int line)
  {
    std::cerr<<filename<<":"<<line<<":WARNING: "<<exprn<<std::endl;
  }

  void default_handler_L(const char* msg, const char* exprn, 
			  const char* filename, int line)
  {
    std::clog<<filename<<":"<<line<<": "<<exprn<<" -- "<<msg<<std::endl;
  }
  
}//namespace unit_test
}//namespace yisc

#endif  //#if defined(YISC_ENABLE_TEST_MACROS)
